#!/bin/bash
#Is_number.sh

while :
do
	read -p "please input:" n

	if [ $n=='end' ];
	then
		echo "exit"
	fi

	count=`echo $n|sed 's/[0-9]//g'|wc -c`

	if [ $count -eq 1 ];
	then
		echo $n
	else
		echo "what your input is not a number,try again!"
	fi

done
